function submitForm(id, url) {
	var form = document.getElementById(id);
	form.action = url;
	form.submit();
}